window: Be more careful when propagating key events
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Apr 2014 15:43:43 +0000 (11:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 12 Apr 2014 05:00:01 +0000 (22:00 -0700)
commit2d7b9273cf7e8ac91153058819e24c5cf084f090
tree9f86fe97d2b7a55db77cbb2444b7cd06ccdd2144
parenta5bd1474d5bb3373320c2984e7aa8e61f19fd405
window: Be more careful when propagating key events

We are keeping references on the widget we are handling as we
are iterating up, but that doesn't protect us against the entire
tree being axed from inside gtk_widget_handle_event.
https://bugzilla.gnome.org/show_bug.cgi?id=727644
gtk/gtkwindow.c